﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="like.aspx.vb" Inherits="island._like" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <br />
<br />


 <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
   
   </p>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="ID" DataSourceID="SqlDataSource1">
            <Columns>
                <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" 
                    ReadOnly="True" SortExpression="ID" />
                <asp:BoundField DataField="Author" HeaderText="Author" 
                    SortExpression="Author" />
                <asp:BoundField DataField="Comment" HeaderText="Comment" 
                    SortExpression="Comment" />
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:IslandConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:IslandConnectionString.ProviderName %>" 
            SelectCommand="SELECT [ID], [Author], [Comment] FROM [Comments] WHERE ([ID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <br />
        <asp:Button ID="btn_like" runat="server" Text="Like" Width="55px" />
&nbsp;
        <asp:Image ID="img_like" runat="server" ImageUrl="~/Pictures/like.jpg" />
&nbsp;<asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/list.aspx">Back</asp:HyperLink>
    </p>
    <p>
        &nbsp;</p>
</asp:Content>
